
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    int envelope_id = Integer.parseInt(request.getParameter("envelope_id"));
%>
<div>
    <form action="<%=request.getContextPath()%>/createQuote?envelope_id=<%=envelope_id%>" method="post">
        输入纸条的名字<input name="name" type="text">
        输入纸条的内容<input name="content" type="text" style="width:900px;height: 200px">
        <input value="提交你的评论" type="submit" onclick="ad()">
        }
    </form>
</div>
<a href="<%=request.getContextPath()%>/function/openEnvelope">返回信封区</a>
<script>
    function ad(){
        alert("创建成功");
    }
</script>
<style>
    body {
        background-image: url("../picture/new.jpg");
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center center;
        background-size: 100% 100%;
    }
</style>
